package com.ossjk.oa.finance.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.ossjk.oa.finance.entity.Salary;
import com.ossjk.oa.finance.mapper.SalaryMapper;
import com.ossjk.oa.finance.service.ISalaryService;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.ossjk.oa.finance.vo.SalaryVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 薪酬表 服务实现类
 * 
 * @Author chair
 * @Version 1.0, 2019-09-22
 * @See
 * @Since com.ossjk.oa.finance.finance.service.impl
 * @Description: TODO
 */
@Service
public class SalaryServiceImpl extends ServiceImpl<SalaryMapper, Salary> implements ISalaryService {

    @Override
    public List selectVoSalaMth(Wrapper wrapper) {
        return baseMapper.selectVoSalaMth(wrapper);
    }

    @Override
    public SalaryVo selectAllSalary(Wrapper wrapper) {
        return baseMapper.selectAllSalary(wrapper);
    }
}
